﻿using System;
using System.Collections.Generic;
using System.Text;

namespace FundSms.Client.Model
{
    #region 返回短信构造类
    /// <summary>
    /// 返回短信构造类
    /// </summary>
    public partial class TSMSReturnHundSunInfo
    {
        public TSMSReturnHundSunInfo()
        {
        }

        /// <summary>
        /// 返回表构造器
        /// </summary>
        /// <param name="id">唯一编号，自动增加</param>
        /// <param name="cmobile">电话号码</param>
        /// <param name="creturn">返回状态 0为发送成功，其他为发送失败</param>
        /// <param name="ccontent">发送的内容</param>
        /// <param name="cproperty">优先级别</param>
        /// <param name="cfrom">公司代码</param>
        /// <param name="csmsname">模板名称</param>
        /// <param name="csmsid">短信编号</param>
        /// <param name="cdate">入库时间</param>
        /// <param name="creturntime">返回时间</param>
        /// <param name="chandle">处理标记（基金公司专用），默认为0，为未处理</param>
        public TSMSReturnHundSunInfo(int id, string cmobile, string creturn, string ccontent, string cproperty, string cfrom, string csmsname, string csmsid, string cdate, string creturntime, string chandle)
        {
            this.id = id;
            this.cmobile = cmobile;
            this.creturn = creturn;
            this.ccontent = ccontent;
            this.cproperty = cproperty;
            this.cfrom = cfrom;
            this.csmsname = csmsname;
            this.csmsid = csmsid;
            this.cdate = cdate;
            this.creturntime = creturntime;
            this.chandle = chandle;
            this.cr1 = string.Empty;
            this.cr2 = string.Empty;
            this.cr3 = string.Empty;
            this.cr4 = string.Empty;
            this.cr5 = string.Empty;
        }

        /// <summary>
        /// 返回表构造器
        /// </summary>
        /// <param name="id">唯一编号，自动增加</param>
        /// <param name="cmobile">电话号码</param>
        /// <param name="creturn">返回状态 0为发送成功，其他为发送失败</param>
        /// <param name="ccontent">发送的内容</param>
        /// <param name="cproperty">优先级别</param>
        /// <param name="cfrom">公司代码</param>
        /// <param name="csmsname">模板名称</param>
        /// <param name="csmsid">短信编号</param>
        /// <param name="cdate">入库时间</param>
        /// <param name="creturntime">返回时间</param>
        /// <param name="chandle">处理标记（基金公司专用），默认为0，为未处理</param>
        /// <param name="cr1">备用字段</param>
        /// <param name="cr2">备用字段</param>
        /// <param name="cr3">备用字段</param>
        /// <param name="cr4">备用字段</param>
        /// <param name="cr5">备用字段</param>
        public TSMSReturnHundSunInfo(int id, string cmobile, string creturn, string ccontent, string cproperty, string cfrom, string csmsname, string csmsid, string cdate, string creturntime, string chandle,string cr1,string cr2,string cr3,string cr4,string cr5)
        {
            this.id = id;
            this.cmobile = cmobile;
            this.creturn = creturn;
            this.ccontent = ccontent;
            this.cproperty = cproperty;
            this.cfrom = cfrom;
            this.csmsname = csmsname;
            this.csmsid = csmsid;
            this.cdate = cdate;
            this.creturntime = creturntime;
            this.chandle = chandle;
            this.cr1 = cr1;
            this.cr2 = cr2;
            this.cr3 = cr3;
            this.cr4 = cr4;
            this.cr5 = cr5;
        }
    }
    #endregion

    #region 上行短信构造类
    public partial class TSMSMOInfo
    {
        public TSMSMOInfo()
        {
        }

        /// <summary>
        /// 上行短信构造器
        /// </summary>
        /// <param name="id">唯一编号，自动增加</param>
        /// <param name="mobile">手机号码</param>
        /// <param name="servicecode">服务号（通道号码）</param>
        /// <param name="content">发送内容</param>
        /// <param name="gettime">入库时间</param>
        /// <param name="chandle">处理标记（默认为0，未处理）</param>
        public TSMSMOInfo(int id, string mobile, string servicecode, string content, string gettime, string chandle)
        {
            this.id = id;
            this.mobile = mobile;
            this.servicecode = servicecode;
            this.content = content;
            this.gettime = gettime;
            this.chandle = chandle;
            this.cr1 = string.Empty;
            this.cr2 = string.Empty;
            this.cr3 = string.Empty;
            this.cr4 = string.Empty;
            this.cr5 = string.Empty;
        }

        /// <summary>
        /// 上行短信构造器
        /// </summary>
        /// <param name="id">唯一编号，自动增加</param>
        /// <param name="mobile">手机号码</param>
        /// <param name="servicecode">服务号（通道号码）</param>
        /// <param name="content">发送内容</param>
        /// <param name="gettime">入库时间</param>
        /// <param name="chandle">处理标记（默认为0，未处理）</param>
        /// <param name="cr1">备用字段</param>
        /// <param name="cr2">备用字段</param>
        /// <param name="cr3">备用字段</param>
        /// <param name="cr4">备用字段</param>
        /// <param name="cr5">备用字段</param>
        public TSMSMOInfo(int id, string mobile, string servicecode, string content, string gettime, string chandle, string cr1, string cr2, string cr3, string cr4, string cr5)
        {
            this.id = id;
            this.mobile = mobile;
            this.servicecode = servicecode;
            this.content = content;
            this.gettime = gettime;
            this.chandle = chandle;
            this.cr1 = cr1;
            this.cr2 = cr2;
            this.cr3 = cr3;
            this.cr4 = cr4;
            this.cr5 = cr5;
        }
    }
    #endregion

    #region 待发短信构造类
    public partial class TSMSSendHundSunInfo
    {
        public TSMSSendHundSunInfo()
        {
        }

        /// <summary>
        /// 待发短信构造类
        /// </summary>
        /// <param name="lserialno">唯一编号，自动增加</param>
        /// <param name="cmobileno">发送的手机号码</param>
        /// <param name="ccontent">发送的内容</param>
        /// <param name="cproperty">优先级别：数字，0为最高级别</param>
        /// <param name="cfrom">公司代码，扩展号</param>
        /// <param name="csmsname">模板名称</param>
        /// <param name="csmsid">短信编号(唯一标记)(基金公司专用)</param>
        /// <param name="cdate">入库时间</param>
        public TSMSSendHundSunInfo(int lserialno, string cmobileno, string ccontent, string cproperty, string cfrom, string csmsname, string csmsid, DateTime cdate)
        {
            this.lserialno = lserialno;
            this.cmobileno = cmobileno;
            this.ccontent = ccontent;
            this.cproperty = cproperty;
            this.cfrom = cfrom;
            this.csmsname = csmsname;
            this.csmsid = csmsid;
            this.cdate = cdate;

            this.cr1 = string.Empty;
            this.cr2 = string.Empty;
            this.cr3 = string.Empty;
            this.cr4 = string.Empty;
            this.cr5 = string.Empty;
        }

        /// <summary>
        /// 待发短信构造类
        /// </summary>
        /// <param name="lserialno">唯一编号，自动增加</param>
        /// <param name="cmobileno">发送的手机号码</param>
        /// <param name="ccontent">发送的内容</param>
        /// <param name="cproperty">优先级别：数字，0为最高级别</param>
        /// <param name="cfrom">公司代码，扩展号</param>
        /// <param name="csmsname">模板名称</param>
        /// <param name="csmsid">短信编号(唯一标记)(基金公司专用)</param>
        /// <param name="cdate">入库时间</param>
        public TSMSSendHundSunInfo(int lserialno, string cmobileno, string ccontent, string cproperty, string cfrom, string csmsname, string csmsid, DateTime cdate,string cr1, string cr2, string cr3, string cr4, string cr5)
        {
            this.lserialno = lserialno;
            this.cmobileno = cmobileno;
            this.ccontent = ccontent;
            this.cproperty = cproperty;
            this.cfrom = cfrom;
            this.csmsname = csmsname;
            this.csmsid = csmsid;
            this.cdate = cdate;

            this.cr1 = cr1;
            this.cr2 = cr2;
            this.cr3 = cr3;
            this.cr4 = cr4;
            this.cr5 = cr5;
        }
    }
    #endregion

    #region 短信日志构造类
    public partial class TSMSSendLogInfo
    {
        public TSMSSendLogInfo()
        {
        }

        /// <summary>
        /// 短信日志构造
        /// </summary>
        /// <param name="lserialno">唯一编号，自动增加</param>
        /// <param name="cmobileno">手机号码</param>
        /// <param name="ccontent">发送的内容</param>
        /// <param name="cproperty">优先级别</param>
        /// <param name="cfrom">公司代码</param>
        /// <param name="csmsname">模板名称</param>
        /// <param name="csmsid">短信编号</param>
        /// <param name="cdate">入库时间</param>
        /// <param name="clogtime">发送时间</param>
        /// <param name="chandle">处理标记（基金公司专用），默认为0，为未处理</param>
        public TSMSSendLogInfo(int lserialno, string cmobileno, string ccontent, string cproperty, string cfrom, string csmsname, string csmsid, string cdate, DateTime clogtime, string chandle)
        {
            this.lserialno = lserialno;
            this.cmobileno = cmobileno;
            this.ccontent = ccontent;
            this.cproperty = cproperty;
            this.cfrom = cfrom;
            this.csmsname = csmsname;
            this.csmsid = csmsid;
            this.cdate = cdate;
            this.clogtime = clogtime;
            this.chandle = chandle;
            this.cr1 = string.Empty;
            this.cr2 = string.Empty;
            this.cr3 = string.Empty;
            this.cr4 = string.Empty;
            this.cr5 = string.Empty;
        }

        /// <summary>
        /// 短信日志构造
        /// </summary>
        /// <param name="lserialno">唯一编号，自动增加</param>
        /// <param name="cmobileno">手机号码</param>
        /// <param name="ccontent">发送的内容</param>
        /// <param name="cproperty">优先级别</param>
        /// <param name="cfrom">公司代码</param>
        /// <param name="csmsname">模板名称</param>
        /// <param name="csmsid">短信编号</param>
        /// <param name="cdate">入库时间</param>
        /// <param name="clogtime">发送时间</param>
        /// <param name="chandle">处理标记（基金公司专用），默认为0，为未处理</param>
        public TSMSSendLogInfo(int lserialno, string cmobileno, string ccontent, string cproperty, string cfrom, string csmsname, string csmsid, string cdate, DateTime clogtime, string chandle, string cr1, string cr2, string cr3, string cr4, string cr5)
        {
            this.lserialno = lserialno;
            this.cmobileno = cmobileno;
            this.ccontent = ccontent;
            this.cproperty = cproperty;
            this.cfrom = cfrom;
            this.csmsname = csmsname;
            this.csmsid = csmsid;
            this.cdate = cdate;
            this.clogtime = clogtime;
            this.chandle = chandle;
            this.cr1 = cr1;
            this.cr2 = cr2;
            this.cr3 = cr3;
            this.cr4 = cr4;
            this.cr5 = cr5;
        }
    }
    #endregion
}
